package com.wanbatv.wanba.ahitv.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.ImageView;
import android.widget.RelativeLayout;

import com.wanbatv.wanba.ahitv.R;

/**
 * Created by 俞亚楠 on 2015/10/9.
 */
public class LoginDemo extends RelativeLayout {
    private Context context;
    private AttributeSet attrs;
    private ImageView login_demo_iv1;
    private ImageView login_demo_iv2;
    public LoginDemo(Context context) {
        super(context);
        this.context=context;
        LayoutInflater.from(context).inflate(R.layout.login_demo, this, true);
        login_demo_iv1=(ImageView)findViewById(R.id.login_demo_iv1);
        login_demo_iv2=(ImageView)findViewById(R.id.login_demo_iv2);
    }

    public LoginDemo(Context context, AttributeSet attrs) {
        super(context, attrs);
        this.context=context;
        this.attrs=attrs;
        LayoutInflater.from(context).inflate(R.layout.login_demo, this, true);
        login_demo_iv1=(ImageView)findViewById(R.id.login_demo_iv1);
        login_demo_iv2=(ImageView)findViewById(R.id.login_demo_iv2);
    }
}
